import { Request } from 'express';
import { req_cur_headers_info } from '../../../../../Classes/cla_req_cur_headers_info';

const req_info_user_loginTag = 'req_info_user_login';

export class req_info_user_login extends req_cur_headers_info {
  get [Symbol.toStringTag]() {
    return req_info_user_loginTag;
  }

  constructor(req_info: Request) {
    super(req_info);

    let req_body = req_info.body;

    this.account = req_body.account;

    this.passworld = req_body.passworld;

    this.device = req_body.device;

    this.address = req_body.address;
  }

  id = '';

  /**
   * 用户 账号 手机号 自定义账号
   */
  account: string;

  /**
   * 用户 密码
   */
  passworld: string;

  /**
   * 登录 设备
   */
  device: string;

  /**
   * 登录 地址
   */
  address: string;
}
